﻿using System.Collections.Generic;

namespace ProxyTool.Models
{
    /// <summary>
    ///     上下文数据
    /// </summary>
    public class ContextData
    {
        /// <summary>
        ///     名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        ///     U9地址
        /// </summary>
        public string U9URI { get; set; } = @"http://localhost/u9";

        /// <summary>
        ///     企业
        /// </summary>
        public EnterpriseData Enterprise { get; set; }

        /// <summary>
        ///     用户编码
        /// </summary>
        public string UserCode { get; set; }

        /// <summary>
        ///     密码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        ///     组织
        /// </summary>
        public OrgData Org { get; set; }

        /// <summary>
        ///     语言
        /// </summary>
        public LanguageData Language { get; set; }

        /// <summary>
        ///     语言列表
        /// </summary>
        public List<LanguageData> Languages { get; set; }
    }
}